home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.Window < prev    next >
Encoding:
Text File  |  1990-08-01  |  5.2 KB  |  142 lines  |  [TEXT/pdos]

  1. ; File:  E16.Window
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. paramLenErr GEQU $0E01 ; first word of parameter list is the wrong size
  9. allocateErr GEQU $0E02 ; unable to allocate window record
  10. taskMaskErr GEQU $0E03 ; bits 12-15 are not clear in WmTaskMask field of EventRecord
  11. wNoConstraint GEQU $0000 ; No constraint on movement.
  12. wHAxisOnly GEQU $0001 ; Horizontal axis only.
  13. wVAxisOnly GEQU $0002 ; Vertical axis only.
  14. FromDesk GEQU $00 ; Subtract region from desktop
  15. ToDesk GEQU $1 ; Add region to desktop
  16. GetDesktop GEQU $2 ; Get Handle of Desktop region
  17. SetDesktop GEQU $3 ; Set Handle of Desktop region
  18. GetDeskPat GEQU $4 ; Address of  pattern or drawing routine
  19. SetDeskPat GEQU $5 ; Change Address of  pattern or drawing routine
  20. GetVisDesktop GEQU $6 ; Get destop region less visible windows.
  21. BackGroundRgn GEQU $7 ; For drawing directly on desktop.
  22. toBottom GEQU $FFFFFFFE ; To send window to bottom.
  23. topMost GEQU $FFFFFFFF ; To make window top.
  24. bottomMost GEQU $0000 ; To make window bottom.
  25. tmMenuKey GEQU $00000001
  26. tmUpdate GEQU $00000002
  27. tmFindW GEQU $00000004
  28. tmMenuSel GEQU $0008
  29. tmOpenNDA GEQU $0010
  30. tmSysClick GEQU $0020
  31. tmDragW GEQU $0040
  32. tmContent GEQU $0080
  33. tmClose GEQU $0100
  34. tmZoom GEQU $0200
  35. tmGrow GEQU $0400
  36. tmScroll GEQU $0800
  37. tmSpecial GEQU $1000
  38. tmCRedraw GEQU $2000
  39. tmInactive GEQU $4000
  40. tmInfo GEQU $8000
  41. tmContentControls GEQU $00010000
  42. tmControlKey GEQU $00020000
  43. tmControlMenu GEQU $00040000
  44. tmMultiClick GEQU $00080000
  45. tmIdleEvents GEQU $00100000
  46. wNoHit GEQU $0000 ; retained for back compatibility. 
  47. inNull GEQU $0000 ; retained for back compatibility
  48. inKey GEQU $0003 ; retained for back compatibility
  49. inButtDwn GEQU $0001 ; retained for back compatibility
  50. inUpdate GEQU $0006 ; retained for back compatibility
  51. wInDesk GEQU $0010 ; On Desktop
  52. wInMenuBar GEQU $0011 ; On system menu bar
  53. wClickCalled GEQU $0012 ; system click called
  54. wInContent GEQU $0013 ; In content region
  55. wInDrag GEQU $0014 ; In drag region
  56. wInGrow GEQU $0015 ; In grow region, active window only
  57. wInGoAway GEQU $0016 ; In go-away region, active window only
  58. wInZoom GEQU $0017 ; In zoom region, active window only
  59. wInInfo GEQU $0018 ; In information bar
  60. wInSpecial GEQU $0019 ; Item ID selected was 250 - 255
  61. wInDeskItem GEQU $001A ; Item ID selected was 1 - 249
  62. wInFrame GEQU $1B ; in Frame, but not on anything else
  63. wInactMenu GEQU $1C ; 'selection' of inactive menu item
  64. wClosedNDA GEQU $001D ; desk accessory closed
  65. wCalledSysEdit GEQU $001E ; inactive menu item selected
  66. wInSysWindow GEQU $8000 ; hi bit set for system windows
  67. wDraw GEQU $00 ; Draw window frame command.
  68. wHit GEQU $01 ; Hit test command.
  69. wCalcRgns GEQU $02 ; Compute regions command.
  70. wNew GEQU $03 ; Initialization command.
  71. wDispose GEQU $04 ; Dispose command.
  72. fHilited GEQU $0001 ; Window is highlighted.
  73. fZoomed GEQU $0002 ; Window is zoomed.
  74. fAllocated GEQU $0004 ; Window record was allocated.
  75. fCtlTie GEQU $0008 ; Window state tied to controls.
  76. fInfo GEQU $0010 ; Window has an information bar.
  77. fVis GEQU $0020 ; Window is visible.
  78. fQContent GEQU $0040
  79. fMove GEQU $0080 ; Window is movable.
  80. fZoom GEQU $0100 ; Window is zoomable.
  81. fFlex GEQU $0200
  82. fGrow GEQU $0400 ; Window has grow box.
  83. fBScroll GEQU $0800 ; Window has horizontal scroll bar.
  84. fRScroll GEQU $1000 ; Window has vertical scroll bar.
  85. fAlert GEQU $2000
  86. fClose GEQU $4000 ; Window has a close box.
  87. fTitle GEQU $8000 ; Window has a title bar.
  88. windSize GEQU $00D4 ; Size of WindRec.
  89. wmTaskRecSize GEQU $002E ; Size of WmTaskRec.
  90. wTrackZoom GEQU $001F
  91. wHitFrame GEQU $0020
  92. wInControl GEQU $0021
  93. wInControlMenu GEQU $0022
  94. ; offset constants for WindColor
  95. oframeColor GEQU 0
  96. otitleColor GEQU 2
  97. otBarColor GEQU 4
  98. ogrowColor GEQU 6
  99. oinfoColor GEQU 8
  100. ; offset constants for WindRec
  101. owNext GEQU 0
  102. oport GEQU 4  ; Window's port
  103. owDefProc GEQU 174
  104. owrRefCon GEQU 178
  105. owContDraw GEQU 182
  106. owReserved GEQU 186  ; Space for future expansion
  107. owStrucRgn GEQU 190  ; Region of frame plus content.
  108. owContRgn GEQU 194  ; Content region.
  109. owUpdateRgn GEQU 198  ; Update region.
  110. owControls GEQU 202  ; Window's control list.
  111. owFrameCtrls GEQU 206  ; Window frame's control list.
  112. owFrame GEQU 210
  113. ; offset constants for ParamList
  114. oparamLength GEQU 0  ; Parameter to NewWindow. 
  115. owFrameBits GEQU 2  ; Parameter to NewWindow.
  116. owTitle GEQU 4  ; Parameter to NewWindow.
  117. owRefCon GEQU 8  ; Parameter to NewWindow.
  118. owZoom GEQU 12  ; Parameter to NewWindow.
  119. owColor GEQU 20  ; Parameter to NewWindow.
  120. owYOrigin GEQU 24  ; Parameter to NewWindow.
  121. owXOrigin GEQU 26  ; Parameter to NewWindow.
  122. owDataH GEQU 28  ; Parameter to NewWindow.
  123. owDataW GEQU 30  ; Parameter to NewWindow.
  124. owMaxH GEQU 32  ; Parameter to NewWindow.
  125. owMaxW GEQU 34  ; Parameter to NewWindow.
  126. owScrollVer GEQU 36  ; Parameter to NewWindow.
  127. owScrollHor GEQU 38  ; Parameter to NewWindow.
  128. owPageVer GEQU 40  ; Parameter to NewWindow.
  129. owPageHor GEQU 42  ; Parameter to NewWindow.
  130. owInfoRefCon GEQU 44  ; Parameter to NewWindow.
  131. owInfoHeight GEQU 48  ; height of information bar
  132. owFrameDefProc GEQU 50  ; Parameter to NewWindow.
  133. owInfoDefProc GEQU 54  ; Parameter to NewWindow.
  134. owContDefProc GEQU 58  ; Parameter to NewWindow.
  135. owPosition GEQU 62  ; Parameter to NewWindow.
  136. owPlane GEQU 70  ; Parameter to NewWindow.
  137. owStorage GEQU 74  ; Parameter to NewWindow.
  138. ; offset constants for DeskMessageRecord
  139. odmreserved GEQU 0
  140. odmmessageType GEQU 4
  141. odmdrawType GEQU 6
  142.